From 6d116e013c4285b9b2aa880ebc811debfeb0aea8 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 24 Nov 2005 11:03:07 +0100 Subject: [PATCH] Fix ia64 build. Two typos in header files. Signed-off-by: Keir Fraser --- xen/include/asm-ia64/grant_table.h | 2 +- xen/include/asm-ia64/mm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/asm-ia64/grant_table.h b/xen/include/asm-ia64/grant_table.h index 763361e23a..5bf3f68bd0 100644 --- a/xen/include/asm-ia64/grant_table.h +++ b/xen/include/asm-ia64/grant_table.h @@ -16,7 +16,7 @@ #define gnttab_shared_mfn(d, t, i) \ ( ((d) == dom0) ? \ - ((virt_to_phys((t)shared) >> PAGE_SHIFT) + (i)) : \ + ((virt_to_phys((t)->shared) >> PAGE_SHIFT) + (i)) : \ (map_domain_page((d), 1UL<<40, virt_to_phys((t)->shared)), \ 1UL << (40 - PAGE_SHIFT)) \ ) diff --git a/xen/include/asm-ia64/mm.h b/xen/include/asm-ia64/mm.h index 899f37b690..8ab80ab5dc 100644 --- a/xen/include/asm-ia64/mm.h +++ b/xen/include/asm-ia64/mm.h @@ -82,7 +82,7 @@ struct page #define PGT_l2_page_table (2<<29) /* using this page as an L2 page table? */ #define PGT_l3_page_table (3<<29) /* using this page as an L3 page table? */ #define PGT_l4_page_table (4<<29) /* using this page as an L4 page table? */ -#define PGT_writeable_page (5<<29) /* has writable mappings of this page? */ +#define PGT_writable_page (5<<29) /* has writable mappings of this page? */ #define PGT_type_mask (5<<29) /* Bits 29-31. */ /* Has this page been validated for use as its current type? */ -- 2.30.2